<div class="span3">
    <form id="albumAddFrom" name="albumAddFrom" class="well" method="post" action="">
        <label>Tên Album</label>
        <input type="text" id="albumName" name="albumName" class="span12" placeholder="Type something…"/>
        <label>Mô tả</label>
        <textarea class="span12" rows="3" name="albumInfo" id="albumInfo" class="input-xlarge"></textarea>
        <label>Chọn chuyên mục</label>
        <select id="cateID" name="cateID" class="span12">
            <?php foreach ($arrCategory as $cate) { ?>
            <option value="<?php echo $cate['category_id']; ?>"><?php echo $cate['title']; ?></option>
            <?php 
                if (isset($cate['child'])) {
                    foreach ($cate['child'] as $child) {
            ?>
            <option value="<?php echo $child['category_id']; ?>">-- <?php echo $child['title']; ?></option>        
            <?php
                    }
                }
            } ?>
        </select>
        <label class="checkbox">
            <input type="checkbox" id="albumStatus" name="albumStatus"/> Tạm thời không hiển thị Album này
        </label>
        <div id="albumErrorMsg" class="alert alert-error hide"></div>
        <div id="albumWaitingMsg" class="alert alert-info hide">
            <img src="/static/img/ajax-loading.gif" /> <em>Đang tạo album...</em>
        </div>
        <div class="form-actions">
            <button type="submit" id="btnAlbumAdd" class="btn btn-primary">Tạo mới</button>
            <button type="reset" class="btn">Hủy bỏ</button>
        </div>
    </form>
</div>
<div class="span9">
    <!--
    <form id="file_upload" action="<?php echo base_url(); ?>upload.php" method="POST" enctype="multipart/form-data">
        <input type="file" name="file[]" multiple>
        <button type="submit">Upload</button>
        <div class="file_upload_label">Upload files</div>
    </form>
    <div class="file_upload_overall_progress"><div style="display:none;"></div></div>
    -->
    <div class="upload_zone">
        <form>
            <div style="border: solid 1px #7FAAFF; background-color: #C5D9FF; padding: 10px; margin: 10px auto; width: 160px;">
                <span id="spanButtonPlaceholder"></span>
            </div>
        </form>
        <div id="divFileProgressContainer" style="height: 75px;"></div>
        <ul id="thumbnails"></ul>
    </div>
</div>
<script type="text/javascript" src="<?php echo base_url(); ?>static/js/swfupload2.5/swfupload.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>static/js/swfupload2.5/handlers.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>static/js/swfupload2.5/initUpload.js"></script>